/*
 * @(#)DaoMain.java	1.00 10/06/25
 *
 * Copyright 2010 Kmdigit, Inc. All rights reserved.
 * KMdigit PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package kmdigit.dao.service;

import static java.lang.System.out;
import kmdigit.dao.DaoConfig;
import kmdigit.dao.domain.Account;
import kmdigit.dao.persistance.AccountDao;

/**
 * @author  Kyunam Lee
 * @version 1.00, 06/25/10
 */

public class DaoMain {
	public static void main(String[] args) 
	{
		DaoConfig daoConfig = DaoConfig.getDaoConfig();
		AccountDao accountDao = (AccountDao)daoConfig.getDaoManager().getDao(AccountDao.class);;
		Account account = accountDao.getById("111");
		out.println(account.getUserid());
	}
}
